package com.bilisummarize.repository;

import com.bilisummarize.entity.BiliVideoSummarize;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BiliVideoSummarizeRepository extends CrudRepository<BiliVideoSummarize, Integer> {
    BiliVideoSummarize findBiliVideoSummarizeByAidAndCid(Integer aid, Integer cid);
    List<BiliVideoSummarize> findAllByAidAndCid(Integer aid, Integer cid);
}
